public class HungrySingLeton {
    private String Name;
    public void setName(String name){
        Name=name;
    }
    public String ShowName(){
        return Name;
    }

    private static final HungrySingLeton singleton = new HungrySingLeton();  

    public static HungrySingLeton getInstance(){
        return singleton ;   }

}
